#include "stdafx.h"
#include "System.h"
#include "Memory.h"

SysMainMemory mainMemory;
SysMainMemory& GetVmMemory()
{
	return mainMemory;
}

u16 ba0R16(u32 mem)
{
	if(mem == 0x1a000006) {
		static int ba6;
		ba6++;
		if(ba6 == 3) ba6 = 0;
		return ba6;
	}
	return 0;
}